package com.example.websocket.dao;

import com.example.websocket.entity.AddFriendRequest;
import com.example.websocket.entity.User;

import java.util.List;

public interface AddFriendRequestMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AddFriendRequest record);

    int insertSelective(AddFriendRequest record);

    AddFriendRequest selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AddFriendRequest record);

    int updateByPrimaryKey(AddFriendRequest record);

    List<AddFriendRequest> selectByToUserid(int id);

    AddFriendRequest selectByUserAndToUserid(int userid, int toUserid);
}